home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 33
/
Volume 33 - JOGO DISK .iso
/
Games
/
snowboard.swf
/
scripts
/
frame_7
/
PlaceObject2_316_398
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2007-01-15
|
577b
|
30 lines
onClipEvent(enterFrame){
if(this.head.hitTest(_root.player.board) && _root.player.falling == true && _root.player.grounded == false && _currentframe == 1)
{
_root.player.yspeed = -15;
_root.player.gotoAndStop(2);
this.gotoAndStop(2);
}
if(bleh == 0)
{
_xscale = scale;
}
if(bleh == 1)
{
_xscale = - scale;
}
if(_X <= _root.super._x)
{
gotoAndStop("blank");
ok = 0;
}
else
{
ok = 1;
}
if(_currentframe != 2 && ok == 1)
{
gotoAndStop(1);
}
}